<template>
  <div>
    <a-form-model ref="form" slot="detail">
      <a-row>
        <!--<a-col :span="24">
          <a-form-model-item label="姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="accountName">
            <span>{{record.ghCustomerInfo.name}}</span>
          </a-form-model-item>
        </a-col>-->
        <!--<a-col :span="24">
          <a-form-model-item label="项目地址" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="surplus">
            <span>{{record.ghCustomerInfo.address}}</span>
          </a-form-model-item>
        </a-col>-->
        <div class="select-pk">
          <span>客户姓名：</span>
          <span>{{record.ghCustomerInfo.name}}</span>
        </div>
        <div class="select-pk">
          <span>项目地址：</span>
          <span>{{record.ghCustomerInfo.address}}</span>
        </div>
        <div class="select-pk">
          <span>巡查时间：</span>
          <span>{{record.circuitTime}}</span>
        </div>
        <div class="select-pk">
          <span>巡查情况：</span>
          <span>{{record.situation}}</span>
        </div>
        <div class="select-pk">
          <span>业主反馈：</span>
          <span>{{record.feedback}}</span>
        </div>
        <div class="select-pk">
          <span>添加人：</span>
          <span>{{record.createBy}}</span>
        </div>
        <div class="select-pk">
          <span>添加时间：</span>
          <span>{{record.createTime}}</span>
        </div>

      </a-row>
    </a-form-model>
  </div>
</template>

<script>
  export default {
    name: "basicInfoTab",
    props: {
      record: {}
    },
    data() {
      return {
        labelCol: {
          xs: {span: 24},
          sm: {span: 5},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 16},
        },
      }
    },
    methods: {

    }
  }
</script>

<style scoped lang="less">
  @import '~@assets/less/common.less';
  .select-pk{
    display:flex;
    align-items:center;
    margin:10px 0;
    &>span{
      font-weight: bold;
    }
    &-text{
      width: calc(100% - 6em);
      height: 30px;
      text-indent: 1em;
      line-height: 28px;
      border: 1px solid #d9d9d9;
      border-radius: 4px;
    }
  }
</style>